<include file="Public/header"/>

<form action="{:U('admin.php/index/update')}" method="post" class="form-horizontal">

<input type="hidden" name="ydq_id" value="{$one.ydq_id}">
<br><br><br>
<div class="form-group">
    <label for="name" class="col-sm-2 control-label">用户名</label>
    <div class="col-sm-10">
      <input type="text" class="form-control" name="ydq_username" value="{$one.ydq_username}" id="name" placeholder="Username" required="">
    </div>
  </div>
<br>
  <div class="form-group">
    <label for="pass" class="col-sm-2 control-label">密码</label>
    <div class="col-sm-10">
      <input type="password" class="form-control" name="ydq_password" value="{$one.ydq_password}" id="pass" placeholder="Password" required="">
    </div>
  </div>
  <br>

  <div class="form-group">
    <label for="email" class="col-sm-2 control-label">邮箱</label>
    <div class="col-sm-10">
      <input type="email" class="form-control" name="ydq_email" value="{$one.ydq_email}" id="email" placeholder="Email" required="">
    </div>
  </div>
  <br>

  <div class="form-group">
    <label for="tele" class="col-sm-2 control-label">电话</label>
    <div class="col-sm-10">
      <input type="text" class="form-control" name="ydq_tele" value="{$one.ydq_tele}" id="tele" placeholder="Tele">
    </div>
  </div>
  <br>

  <div class="form-group">
    <label for="realname" class="col-sm-2 control-label">真实姓名</label>
    <div class="col-sm-10">
      <input type="text" class="form-control" name="ydq_realname" value="{$one.ydq_realname}" id="realname" placeholder="Realname" required="">
    </div>
  </div>
<br>
    <div class="form-group">
    <label for="photo" class="col-sm-2 control-label">头像</label>
    <div class="col-sm-10">
      <img src="__ROOT__/uploads/{$one.ydq_photo}"/>
      <input type="file" class="form-control" name="ydq_photo"  id="photo" placeholder="Photo">
    </div>
  </div>
     <br> 
      <div class="form-group">
    <label for="intro" class="col-sm-2 control-label">自我介绍</label>
    <div class="col-sm-10">
      <input type="text" class="form-control" name="ydq_intro" value="{$one.ydq_intro}" id="photo" placeholder="Photo">
    </div>
  </div>
<br>
     <div class="form-group">
    <label  class="col-sm-2 control-label"></label>
    <div class="col-sm-10">
      <button type="submit" class="btn btn-success">提交</button>
      <button type="reset" class="btn btn-warning">重置</button>
    </div>
  </div>
</form>
<include file="Public/foot"/>